[INFO] cloning repository https://github.com/Hitrel/web_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hitrel/web_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHitrel%2Fweb_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHitrel%2Fweb_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8bc16bf69cd4425d7586713f9b964d753c51d32b
[INFO] checking Hitrel/web_server against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHitrel%2Fweb_server" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Hitrel/web_server on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Hitrel/web_server
[INFO] finished tweaking git repo https://github.com/Hitrel/web_server
[INFO] tweaked toml for git repo https://github.com/Hitrel/web_server written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Hitrel/web_server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive_utils v0.9.1
[INFO] [stderr]   Downloaded io-enum v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22439d7170f1dd08dce2477affe3388323af25618587c39a1112a32d7308c8af
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "22439d7170f1dd08dce2477affe3388323af25618587c39a1112a32d7308c8af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22439d7170f1dd08dce2477affe3388323af25618587c39a1112a32d7308c8af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22439d7170f1dd08dce2477affe3388323af25618587c39a1112a32d7308c8af", kill_on_drop: false }`
[INFO] [stdout] 22439d7170f1dd08dce2477affe3388323af25618587c39a1112a32d7308c8af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a14802c550073ae4165502ae30255a00164dcbe802a103d30624c2daf0a19c2b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a14802c550073ae4165502ae30255a00164dcbe802a103d30624c2daf0a19c2b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling syn v1.0.8
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling openssl v0.10.26
[INFO] [stderr]     Checking smallvec v1.0.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling io-enum v0.2.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]     Checking sha1 v0.6.0
[INFO] [stderr]    Compiling mysql v17.0.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking json v0.12.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking unicode-normalization v0.1.11
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]     Checking serde_json v1.0.41
[INFO] [stderr]    Compiling lexical-core v0.6.2
[INFO] [stderr]    Compiling lexical v4.0.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking sha2 v0.8.0
[INFO] [stderr]     Checking url v2.1.0
[INFO] [stderr]     Checking getrandom v0.1.13
[INFO] [stderr]     Checking backtrace-sys v0.1.32
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking nix v0.15.0
[INFO] [stderr]     Checking backtrace v0.3.40
[INFO] [stderr]     Checking flate2 v1.0.13
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking chrono v0.4.9
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking http v0.1.20
[INFO] [stderr]     Checking bigdecimal v0.1.0
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking rust_decimal v1.0.3
[INFO] [stderr]     Checking twox-hash v1.5.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling derive_utils v0.9.1
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]     Checking failure v0.1.6
[INFO] [stderr]     Checking mysql_common v0.19.2
[INFO] [stderr]     Checking web_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::http_tokenlize::get_method`
[INFO] [stdout]  --> src/utils/book_collection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::http_tokenlize::get_method;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `find_book`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::book_collection::{database_init, find_book, get_booklist, parse_book};
[INFO] [stdout]   |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Response`, `StatusCode`, `Version`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::{Request, Response, StatusCode, Version};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::http_tokenlize::get_method`
[INFO] [stdout]  --> src/utils/book_collection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::http_tokenlize::get_method;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `find_book`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::book_collection::{database_init, find_book, get_booklist, parse_book};
[INFO] [stdout]   |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Response`, `StatusCode`, `Version`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::{Request, Response, StatusCode, Version};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::book_collection::find_book`
[INFO] [stdout]   --> src/utils/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         use crate::utils::book_collection::find_book;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::http_tokenlize::get_method`
[INFO] [stdout]   --> src/utils/mod.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         use crate::utils::http_tokenlize::get_method;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]   --> src/utils/mod.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         use std::io::prelude::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::book_collection::*`
[INFO] [stdout]   --> src/utils/mod.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         use crate::utils::book_collection::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/utils/http_tokenlize.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let (method, uri, version): (String, String, String) = match get_muv(rows[0].as_str()) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `uid`
[INFO] [stdout]   --> src/utils/book_collection.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     uid: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `uid`
[INFO] [stdout]   --> src/utils/book_collection.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     uid: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_read`
[INFO] [stdout]   --> src/utils/http_tokenlize.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn file_read(path: &str) -> io::Result<String> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/utils/book_collection.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         write!(f, "{{{}}}", self.get());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::option::Option<std::string::String>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/utils/mod.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |         println!("{}", path);
[INFO] [stdout]    |                        ^^^^ `std::option::Option<std::string::String>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<std::string::String>`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: required by `std::fmt::Display::fmt`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::http_tokenlize::get_method`
[INFO] [stdout]  --> src/utils/book_collection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::http_tokenlize::get_method;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `find_book`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::book_collection::{database_init, find_book, get_booklist, parse_book};
[INFO] [stdout]   |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Response`, `StatusCode`, `Version`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::{Request, Response, StatusCode, Version};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::book_collection::find_book`
[INFO] [stdout]   --> src/utils/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         use crate::utils::book_collection::find_book;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::http_tokenlize::get_method`
[INFO] [stdout]   --> src/utils/mod.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         use crate::utils::http_tokenlize::get_method;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]   --> src/utils/mod.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         use std::io::prelude::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::book_collection::*`
[INFO] [stdout]   --> src/utils/mod.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         use crate::utils::book_collection::*;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mysql as my`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mysql as my;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web_server`.
[INFO] [stdout] warning: unused import: `tokenize`
[INFO] [stdout]   --> src/main.rs:10:62
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::utils::http_tokenlize::{get_method, get_response, tokenize};
[INFO] [stdout]    |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] warning: unused import: `utils::http_tokenlize`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::http_tokenlize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] warning: unused import: `PoolCreationError`
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use utils::thread_pool::{PoolCreationError, ThreadPool};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `super::http_tokenlize::get_method`
[INFO] [stdout]  --> src/utils/book_collection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::http_tokenlize::get_method;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `find_book`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::book_collection::{database_init, find_book, get_booklist, parse_book};
[INFO] [stdout]   |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Response`, `StatusCode`, `Version`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::{Request, Response, StatusCode, Version};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`
[INFO] [stdout]  --> src/utils/http_tokenlize.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::net::{IpAddr, Ipv4Addr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mysql as my`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mysql as my;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokenize`
[INFO] [stdout]   --> src/main.rs:10:62
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::utils::http_tokenlize::{get_method, get_response, tokenize};
[INFO] [stdout]    |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::http_tokenlize`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::http_tokenlize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PoolCreationError`
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use utils::thread_pool::{PoolCreationError, ThreadPool};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let pool = database_init();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let pool = database_init();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/utils/http_tokenlize.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let (method, uri, version): (String, String, String) = match get_muv(rows[0].as_str()) {
[INFO] [stdout]    |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `uid`
[INFO] [stdout]   --> src/utils/book_collection.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     uid: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `uid`
[INFO] [stdout]   --> src/utils/book_collection.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     uid: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_read`
[INFO] [stdout]   --> src/utils/http_tokenlize.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn file_read(path: &str) -> io::Result<String> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `std::option::Option<std::string::String>` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/utils/mod.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |         println!("{}", path);
[INFO] [stdout]    |                        ^^^^ `std::option::Option<std::string::String>` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<std::string::String>`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: required by `std::fmt::Display::fmt`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/utils/book_collection.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         write!(f, "{{{}}}", self.get());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "a14802c550073ae4165502ae30255a00164dcbe802a103d30624c2daf0a19c2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a14802c550073ae4165502ae30255a00164dcbe802a103d30624c2daf0a19c2b", kill_on_drop: false }`
[INFO] [stdout] a14802c550073ae4165502ae30255a00164dcbe802a103d30624c2daf0a19c2b
